package com.usian.cars.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.common.Result;
import com.usian.entity.Cars;
import com.usian.vo.CarsVo;
import com.usian.vo.CarsVo2;

import java.util.List;
import com.usian.vo.CarsReserveVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2025-01-15
 */
public interface ICarsService extends IService<Cars> {

    List<CarsVo> getCarAllByBrandId(Integer brandId);

    List<CarsVo> findAll();

    CarsVo getByIdCarVo(Integer carId);

    Boolean updateCar(CarsVo cars);

    List<CarsVo> getCarsByCarModel(Cars cars);
    List<CarsReserveVo> findScreen(String brand, Integer price, String character);

    Boolean updateFavorites();

    Boolean updateFavoritesAll(Integer carId);

}
